package org.jeecg.modules.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.entity.base.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: db_assessment
 * @Author: jeecg-boot
 * @Date:   2024-07-09
 * @Version: V1.0
 */
@Data
@TableName("db_assessment")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="db_assessment对象", description="db_assessment")
public class DbAssessment extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**考核表名称*/
	@Excel(name = "考核表名称", width = 15)
    @ApiModelProperty(value = "考核表名称")
    private String assName;
	/**适用部门*/
	@Excel(name = "适用部门", width = 15)
    @ApiModelProperty(value = "适用部门")
    private String department;
	/**审核人*/
	@Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    private String checker;
	/**考核年月*/
	@Excel(name = "考核年月", width = 15, format = "yyyy-MM")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM")
    @DateTimeFormat(pattern="yyyy-MM")
    @ApiModelProperty(value = "考核年月")
    private Date assDate;
	/**岗位名称*/
	@Excel(name = "岗位名称", width = 15)
    @ApiModelProperty(value = "岗位名称")
    private String station;
	/**参与项目*/
	@Excel(name = "参与项目", width = 15)
    @ApiModelProperty(value = "参与项目")
    private String project;
	/**附电网指标*/
	@Excel(name = "附电网指标", width = 15)
    @ApiModelProperty(value = "附电网指标")
    private String powerGeneration;
	/**生效日期*/
	@Excel(name = "生效日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "生效日期")
    private Date startDate;
	/**发布周期*/
	@Excel(name = "发布周期", width = 15)
    @ApiModelProperty(value = "发布周期")
    private String releaseCycle;
    /**状态*/
    @Excel(name = "状态",dicCode = "status", width = 15)
    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "status")
    private Integer status;

}
